package com.xbongbong.paas.pojo.workflow.settings.vo;

import com.xbongbong.paas.toolbox.helper.PageHelper;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 *
 * @author 魏荣杰
 *
 */
@Setter
@Getter
@ToString
public class WorkflowLinkListVO implements Serializable {

    private static final long serialVersionUID = -3602389695405838214L;

    private PageHelper pageHelper;

    private List<WorkflowLinkListPojo> list;

    @Setter
    @Getter
    @ToString
    public static class WorkflowLinkListPojo {

        /**
         * stageWork 的 id
         */
        private Long id;
        /**
         * 引用类型
         */
        private String type;

        /**
         * 名称
         */
        private String name;

        /**
         * 触发条件
         */
        private String condition;

        /**
         * 当前设置的阶段
         */
        private String stage;

        /**
         * 来源阶段
         */
        private String fromStage;
        /**
         * 目标阶段
         */
        private String toStage;

        /**
         * 版本
         */
        private String version;
    }
}
